package cn.hipac.mall.after;

import lombok.extern.apachecommons.CommonsLog;
import lombok.extern.java.Log;
import lombok.extern.slf4j.Slf4j;

@Log
public class LogExample {

    public static void main(String... args) {
        log.severe("Something's wrong here");
    }

    @Slf4j
    private static class LogExampleOther {

        public static void main(String... args) {
            log.error("Something else is wrong here");
        }
    }

    @CommonsLog(topic="CounterLog")
    private static class LogExampleCategory {

        public static void main(String... args) {
            log.error("Calling the 'CounterLog' with a message");
        }
    }
}

